<?php
/**
 * RedCross Application
 *
 * @copyright Copyright (c) 2010, Kristian Stokke Tryggestad, Rune Vikestad, Andreas Flaten Wist, Simen Nicolai Echholt, Ole Henrik Jahren
 */

/**
 * Lost password form
 *
 * @category    RedCross
 * @package     Core_Form
 */
class Core_Form_User_LostPassword extends RedCross_Form
{
    public function init()
    {

    	$this->setAttrib('id', 'user_lostpassword');

        $this->addElement('text', 'email', array(
            'filters'       => array('StringTrim'),
            'validators'    => array(
                array('EmailAddress', true),
            ),
            'required'      => true,
            'label'         => 'E-mail:'
        ));

        $this->addElement('submit', 'submit', array(
        	'id'       => 'button',
            'required' => true,
            'ignore'   => true,
            'label'    => 'Send meg instruksjoner',
        ));

    }
}